
.live-container {
    width: 100% !important;
}

.wapper{
    position: relative;
    margin: 0 auto;
    width: 1270px;
    height: 553px;
    text-align: left;
    background: #000;
    padding: 0;
}
.player-left{
    height: calc(~"100%" - 6px);
    width: calc(845px - 6px);
    display: inline-block;
    position: relative;
    left: 0px;
    right: 0px;
    top: 0px;
    z-index: 9;
    margin-right: 10px;
    border: 3px solid #b5b5b5;
    border-radius: 3px;
}

.player-right {
    height: calc(~"100%" - 6px);
    width: calc(415px - 6px);
    bottom: 10px;
    position: absolute;
    right: 0;
    top: 0;
    margin: 0;
    border: 3px solid #b5b5b5;
    border-radius: 3px;
}

.player-box{
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    float: left;
    position: relative;
    overflow: hidden;
}

.player-screen {
    height: 530px;
    width: 100%;
    position: absolute;
    bottom: 0;
}
.msg-box{
    width: calc(~"100% - "60px);
    height: calc(~"100% - "60px);
    position: relative;
    float: right;
    background: #1b1b1b;
    padding: 30px;
}
.msg-page-a{
    position: absolute;
    width: 100%;
    height: 40px;
    line-height: 40px;
    color: #668eff;
    background: rgba(13, 142, 252, 0.3);
    font-size: 14px;
    text-align: center;
    top: 0px;
    left: 0;
    z-index: 2;
    cursor: pointer;
    display: none;
}
.msg-box .msg-box-center{
    position: relative;
    width: 100%;
    height: calc(~"100% - "50px);
    right: 0px;
}
.msg-box ul li{
    position: relative;
    /*margin-bottom: 15px;*/
}

.msg-box ul li.barrage-msg-goods{
    text-align: left;
    width: 270px;
    margin-left: 60px;
}
.msg-box ul li .barrage-msg-comeing{
    display: inline-block;
    border-radius: 20px;
    padding: 2px 10px 2px 0px;
    color: #ffe56b;
    font-size: 1.4rem;
    text-shadow: 1px 1px 1px rgba(0,0,0,1);
}
.barrage-msg-red{
    display: inline-block;
    padding:6px 10px;
    line-height: 1.5;
    border-radius: 5px;
    color: #fff;
    font-size: 10px;
    text-align: center;
    background: url(../images/pc/msg-li-bg.png) center center repeat;
}
.barrage-msg-red .icon-red{
    display: inline-block;
    width: 8px;
    height: 11px;
    background: url(../images/pc/mobile/icon-red.png) center center no-repeat;
    background-size: 100%;  
    float: left;
    margin: 4px 5px 0px 0px;
}
.barrage-msg-gold{
    display: inline-block;
    padding:6px 10px;
    line-height: 1.5;
    border-radius: 5px;
    color: #fff;
    font-size: 10px;
    text-align: center;
    background: url(../images/pc/msg-li-bg.png) center center repeat;
}
.barrage-msg-gold .icon-gold{
    display: inline-block;
    width: 10px;
    height: 11px;
    background: url(../images/pc/mobile/icon-gold.png) center center no-repeat;
    background-size: 100%;  
    float: left;
    margin: 4px 5px 0px 0px;
}
.barrage-msg-logourl{
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 0;
    border-radius: 50%;
    position: absolute;
    left: 10px;
    top: 50%;
    margin-top: -18px;
}
.msg-box ul li .barrage-msg-text{
    display: inline-block;
    padding:6px 12px;
    line-height: 1.5;
    word-break:break-all;
    font-size: 14px;
    background: url(../images/pc/msg-li-bg.png) center center repeat;
    border-radius: 3px;
    margin-left: 60px;
    max-width: 250px;
    position: relative;
}
.msg-box ul li .barrage-msg-text b{
    display: block;
    width: 6px;
    height: 12px;
    position: absolute;
    left: -6px;
    top: 50%;
    margin-top: -6px;
    background: url(../images/pc/barrage-msg-text-b.png) 0px 0px repeat;
}
.msg-box ul li .red-msg{
    width: 194px;
    height: 80px;
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    margin-left: 60px;
}

.red-msg-top{
    width: 174px;
    height: 40px;
    padding: 10px;
    background-color: #d1353d;
    background-image: url(../images/pc/mobile/red-element.png);
    background-size: cover;
}
.red-msg-nickname{
    color: #f7c35b;
    font-size: 1.3rem;
    line-height: 15px;
}
.red-msg-bless{
    color: #fff;
    font-size: 1.3rem;
    line-height: 25px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.red-msg-bottom{
    height: 20px;
    line-height: 20px;
    background-color: #fff;
    font-size: 0.8rem;
    text-indent: 10px;
    color: #aaa;
}
.barrage-more{
    width: 100px;
    height: 25px;
    line-height: 25px;
    background-color: #668eff;
    color: #fff;
    position: absolute;
    right: 10px;
    bottom: 10px;
    border-radius: 5px;
    z-index: 1;
    text-align: center;
    letter-spacing: 2px;
    display: none;
}
.barrage-msg-user{
    font-size: 10px;
    margin-bottom: 2px;
    color: #b8b8b8;
    font-family: "微软雅黑";
}
.barrage-msg-word{
    line-height: 1.5;
    color: #b8b8b8;
    font-size: 14px;
    width: 100%;
    word-wrap: break-word;
    word-break: break-all;
    font-family: "微软雅黑";
}
.barrage-msg-user.color-ffe56b{
    color:#A7B3C4;
}
.barrage-msg-user.color-a276ff{
    color:#a276ff;
}
.msg-send{
    position: absolute;
    left: 0;
    height: 52px;
    width: calc(~"100% - " 16px * 2);
    bottom: 0px;
    z-index: 3;
    overflow: hidden;
    padding: 0 16px 10px 16px;
}
.msg-send-div{
    position: relative;
    display: inline-block;
    left: 0;
    right: 72px;
    bottom: 0;
    top: 0;
    height: 100%;
    width: calc(~"100% - " 98px);
}
.h5-msg-send-input{
    display: block;
    cursor: pointer;
}
.login-btn{
    cursor: pointer;
}
.msg-send .msg-send-input {
    width: calc(~"100% - " 16px);
    text-align: left;
    height: 48px;
    line-height: 30px;
    text-indent: 10px;
    font-size: 14px;
    padding: 0;
    background-color: #3b3b3b;
    border-radius: 6px;
    border: 1px solid #999999;
    color: #fff !important;
    font-family: "微软雅黑";
}
.msg-send .msg-send-input::-webkit-input-placeholder{
    color: #959595;
}
.msg-send .msg-send-btn {
    float: right;
    padding: 0;
    width: 96px;
    height: 48px;
    line-height: 48px;
    text-align: center;
    color: #fff;
    position: relative;
    display: inline-block;
    z-index: 1;
    font-size: 15px;
    border-radius: 6px;
    border: 1px solid #999999;
    letter-spacing: 2px;
    cursor: pointer;
    font-family: "微软雅黑";
    background-color: #3b3b3b;
}
.msg-send .msg-send-btn:active{
    opacity: 0.5;
}
.bg_player, .bg_player_mask {
    /*position: fixed;*/
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.bg_player_mask {
    background-color: #292a2b;
    background-color: rgba(0,0,0,.35);
    z-index: -1;
}
.bg_player {
    z-index: -2;
}
/*滚动条begin*/
.scrollbarbox { clear: both;}
.scrollbarbox .viewport { width: 100%; overflow: hidden; position: absolute; top: 5px;bottom: 5px;}
.scrollbarbox .overview { list-style: none; position: absolute; top: 0; }
.scrollbarbox .thumb .end,
.scrollbarbox .thumb { background-color: rgba(251,102,85,0); border-radius: 20px;}
.scrollbarbox .scrollbar { position: relative; float: right; width: 3px; height: 100%;}
.scrollbarbox .track { height: 100%; width:3px; position: relative;background-color: rgba(0,0,0,0.1);}
.scrollbarbox .thumb { height: 10px; width: 15px; left: -6px; cursor: pointer; overflow: hidden; position: absolute; top: 0;background-color:rgba(255,255,255,0.8); }
.scrollbarbox .thumb .end { overflow: hidden; height: 3px; width: 13px; }
.scrollbarbox .disable{ display: none; }
.noSelect { user-select: none; -o-user-select: none; -moz-user-select: none; -khtml-user-select: none; -webkit-user-select: none; }
/*滚动条end*/

.watch-count{
    color: #bfbfbf;
    font-size: 14px;
    float: left;
    height: 30px;
    padding: 0px 10px;
    line-height: 26px;
    border-radius: 20px;
    
    .icon-people {
        font-size: 26px;
    }
    
    #watch-count {
        line-height: 30px;
        height: 30px;
        vertical-align: top;
    }
}
.player-center .player-setting-panel-button.flash{
    right: 30px;
    bottom: -45px;
    z-index: 10;
}

.player-left .tools {
    width: 370px;
    height: 30px;
    position: absolute;
    z-index: 9;
    bottom: -50px;
    right: 160px;
    display: flex;
    justify-content: space-between;
    margin-right: 30px;
}

.tools .dm {
    border-radius: 15px;
    width: 46px;
    height: 23px;
    line-height: 23px;
    color: #fff;
    text-align: right;
    padding: 0 10px;
    font-size: 14px;
    border: 1px solid #ff4800;
    
    background: url('../images/public/dm_close_icon.png') 3px 50% no-repeat,#ff4800;
    background-size: 18px;
}

.tools .dm.open {
    color: #ff4800;
    background: url('../images/public/dm_open_icon.png') 3px 50% no-repeat,transparent;
    background-size: 18px;
}

.goto-vr{
    left: 0px;
    right: 0;
    bottom: 0px;
    height: 100%;
    width: 140px;
    display: inline-block;
    z-index: 10;
}
.goto-vr a{
    color: #ff4800;
    font-size: 14px;
    padding: 0px; 
    border-radius: 15px 0 0 15px;
    border: 1px solid #e1e1e1;
    
    height: 24px;
    line-height: 24px;
    width: 68px;
    text-align: center;
    display: inline-block;
}

.goto-vr a:last-child {
    border-radius: 0 15px 15px 0;
    border-left: none;
}

.goto-vr a.active {
    color: #34c3ff;
//  background-color: #4aaece;
}

//
//#hb_relevant {
//  position: absolute;
//  right: 0px;
//  top: 0px;
//  height: 33px;
//  width: calc(100% - 780px);
//  padding: 13.5px 10px;
//  line-height: 30px;
//}
//
//#hb_relevant .time {
//  width: 140px;
//  height: 49px;
//  margin: 0 auto;
//  background: url('../img/time.png') 50% 50% no-repeat;
//  position: relative;
//}
//
//#hb_relevant .time span {
//  color: #ffca00;
//  font-size: 24px;
//  line-height: 49px;
//  text-align: center;
//  width: 70%;
//  display: block;
//  position: absolute;
//  right: 0;
//}
//
//#hb_relevant .rule {
//  border: 3px solid #4bb2fa;
//  border-radius: 5px;
//  height: 31px;
//  width: 87px;
//  display: inline-block;
//  z-index: 999;
//  position: absolute;
//  top: 20px;
//  right: 5px;
//  color: #4bb2fa;
//  text-align: center;
//  font-size: 16px;
//  cursor: pointer;
//}


#draw_rules_box {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    top: 0;
    left: 0;
    z-index: 9999999;
}

#draw_rules_box .close {
    position: absolute;
    right: 30px;
    top: 30px;
    font-size: 50px;
    line-height: 37px;
    cursor: pointer;
}

#draw_rules_box .txtbox {
    background:-moz-linear-gradient(top, #f85549, to(#df1110));
    background:-webkit-gradient(linear, 0 0, 0 bottom, from(#f85549), to(#df1110));  
    width: 750px;
    height: calc(90vh - 100px);
    margin: 0 auto;
    border-radius: 10px;
    color: #fff;
    padding: 50px;
    position: relative;
    top: 5vh;
}

#draw_rules_box .txtbox .title {
    line-height: 100px;
    font-size: 24px;
}

#draw_rules_box .txtbox .content {
    font-size: 16px;
    text-align: left;
    font-family: "微软雅黑", arial;
    height: auto !important;
}

#rules_scrollbar {
    height: 80%;
    position: relative;
}

#rules_scrollbar .track {
    width: 8px;
    background-color: rgba(255, 255, 255, 0.3);
}

#rules_scrollbar .thumb {
    left: -4px;
}


.player-setting-panel-button {
    display: none;
}